Added support for PreAuth

Added pre-auth using service credentials for calls to web sites.