Minor patch to password generation.