Automated encryption of session data for backup storage