Fix the login strategy