To login to a SharePoint 2013/2016 site and force it prompt for login instead of automatically signing in with the current Windows user account, append the above string to your site URL. For example,
https://sharepoint.example.com/mysite/_layouts/closeConnection.aspx?loginasanotheruser=true
This can be useful to login as a different user.