Kind-of-working CAS login.