title: How to remove 'Authorization: Basic username:password' header from browser
body: <p>I've been trying to make use of the native login prompt that is available in browsers:</p>
  
  <p><img src="https://i.stack.imgur.com/yCmyV.png" alt="Native login prompt"></p>
  
  <p>and have been following <a href="http://blog.stevensanderson.com/2008/08/25/using-the-browsers-native-login-prompt/" rel="noreferrer">Steven Sanderson's blog post</a>. </p>
  
  <p>As mentioned in the blog, once a user enters their login details once the browser then sends the header <code>Authorization: Basic username:password</code> in all future requests to the login URL. This means that if a user logs out, but doesn't close the browser window, the next time they visit the login page, they are logged in automatically when visiting the login page.  Effectively the browser stores the authentication details until the browser closes down - leaving your account open to unauthorised access.</p>
  
  <p>Is there a way to make the browser forget the authorization information so that the user cannot log in again wihtout re-entering their details?</p>