Fix hashing password