CW-78 - encrypt pool settings as it contains sensitive data

Added code for supporting non-encrypted records in the DB until they are updated.