Decryption crash bug fixes

Fixes for some potential crashes around encryption. If data exists that we can't ever decrypt, remove it... applies only to accounts and config.