Fixed password hashing issue