Fix failing test_follows_temporary_redirects