Fixing login to compare passwords.