title: Google Chrome: Saved password does not allow to login the first time
body: <p>I am using Chrome browser and facing an unusual scenario. When I login to my application with Chrome saved username and password it does not allow to login in the first attempt(submit/click of the login button). In the second attempt (submit/click) it allows to login. I don't face the same issue when using Firefox where also the username and password are stored in browser. It allows me to login successfully in the first attempt as desired. </p>
  
  <p>Here's my login HTML: </p>
  
  <pre><code>&lt;form id="loginForm" autocomplete="off"&gt; 
  &lt;input type="text" id="username" /&gt;
  &lt;input type="password" id="password" /&gt;
  &lt;/form&gt;
  &lt;button id="submit"&gt;Sign In&lt;/button&gt;
  </code></pre>
  
  <p>Here's the script which is called when I click on the submit button: </p>
  
  <pre><code>$('#submit').click(function(e){
      console.log($('#username').val());
      console.log($('#password').val());
      e.preventDefault();
      performLogin(); 
  });
  
  function performLogin() {
  //Logic to validate the form and submit to server and process further
  }
  </code></pre>
  
  <p>When I print the password in the console it gives a blank value when trying to login in the first attempt even though the password field is not blank. 
  Can anyone explain how Chrome handles the saved username and password as I am unable to understand this behavior?</p>
  
  <p>Thanks </p>