Login working with hashed passwords.