Fixes the tests that I broke with the login redirect change