Encrypt energy balances as part of the "import" task

Closes #760