Useful debug pipeling function
Initial work towards OpenIdConnect. Refs #300. Refs #284