Fix the password generation