Updated CAS authentication.