upgrade CAS server to version 4 (with pac4j)