OpenSSL-style password argument handling.
Implements OpenSSL-style password/passphrase argument handling.