Fix broken login.