Add basic support for CAS 2.0 and CAS 3.0

/proxyValidate is not supported yet