As discussed in ML: http://aerogear-dev.1069024.n5.nabble.com/aerogear-dev-OAuth2-authotization-and-Pipe-integration-td7800.html