CAS-1331: 'Adapt' pac4j module to new CAS 4 authentication API

first commit
Merge pull request #290 from leleuj/CAS-1331

CAS-1331: 'Adapt' pac4j module to new CAS 4 authentication API