Encryption: better error message when base64 decode fails