sqlalchemy: refactoring and addition of Encrypted Type