Fix bug 1009372: test_aurora_redirect

Also fix test_beta_redirect
Merge pull request #297 from jgmize/fix-test_aurora_redirect

Fix bug 1009372: test_aurora_redirect