Issue #2: Fixed usage of set password for decryption