Fix login and password hashing.