Fix login problem.