Adjust OpenID to choose HTTP scheme better

- Changed the way the HTTP scheme is determined. 
- Incremented version number.