Encrypt provided password before passing it to useradd.
Useradd sets the password to exactly what is provided, so just passing
it the unencrypted password prevents the user from actually logging in
with or using that password since the system expects an encrypted password.