Add support for selecting http scheme from X-Forwared-Proto in openid provider