Fix broken user redirection test