Fix bug 1009372: test_aurora_redirect

Also fix test_beta_redirect