Fix test_dnt_redirect