small login fix when checking for social logins