Fix user password generation