Fix callback for logging in.