Initial CAS authentication work.