oauth2server: fix support of SQLAlchemy-Utils

* Addreses issue with new API of EncryptedType in
  SQLAlchemy-Utils>=0.28.2.  (closes #2629)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>