Added basic CAS authentication functions