Authentication and authorization library for use in TCAT projects