Fix interactive passwords

When providing the option '-u' or '-r' to read the password interactively from the terminal, the program fails to prompt for the password and exits. The first commit allows the password decryption means to be selected without providing a password on the command line.

The second commit fixes an error reading the user password interactively (observed on debian/sid).