Do not ask passphrases when a passphrase was already specified with
--passphrase option.
Add tests for --passphrase option.