Fix broken local test.
Fix broken local test.

Use regular expressions to work around the fact that a redirect URL will
be different depending on the environment that the test is executed in.

pydata/conf_site,pydata/conf_site,pydata/conf_site