When you deploy to IIS be sure to edit the web sites Authentication settings
Anonymous Authentication: Enabled
Basic Authentication: Disabled
Windows Authentication: Disabled
Digest Authentication: Disabled
Forms Authentication: Disabled
ASP.NET Authentication: Disabled
With this setup, you will not automatically be logged in via your Domain Account, but instead prompted to login via the Middleware Login Page.
If you want your users to use their windows login, you can enable Windows Authentication.