CAS library for authentication and proxy ticket handling