Modifications for Windows authentication and IIS