Fix after Pac4j changes