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

fix test

Will merge now to fix the build...