Fix to login issue.