title: Django authenticate function that accepts extra fields
body: <p>That django authenticate function accepts two parameters, eg </p>
  
  <pre><code>user = authenticate(username=username, password=password)
  </code></pre>
  
  <p>, but I would like to pass in an additional parameter to validate the entry. Is that possible to do so or can the authenticate function be overridden to achieve that?</p>
  
  <p>Please advise, thanks.</p>