We need to incorporate the GenericHeaderAuthenticator from https://community.jboss.org/wiki/GenericHeaderBasedAuthentication in PL.