Switch to a more robust way of generating passwords; openssl has some env-specific behaviors that might cause problems