Fixed some Login issues.