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

fix test
Merge pull request #293 from leleuj/CAS-1331

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