Change the implementation to use pac4j