Fixed login issues.