Login redirection repair