Useful convenient APIs and their implementations on top of standard CAS server authentication APIs