title: Passport and Passport Local req.isAuthenticated always returns false
body: <p>I haven't been able to track this down, but for my set up, <code>isAuthenticated</code> always returns false even after a successful login. Here's the passport code:</p>
  
  <pre><code>req.isAuthenticated = function() {
    var property = 'user';
    if (this._passport &amp;&amp; this._passport.instance._userProperty) {
      property = this._passport.instance._userProperty;
    }
  
    return (this[property]) ? true : false;
  };
  </code></pre>
  
  <p>But in a quick look around I don't see the <code>_userProperty</code> proeprty anywhere in the local strategy (sorry if I didn't look hard enough), so I suppose that might be why it's always returning false?</p>
  
  <p>I'd leave a code sample of my application code, but I feel it's probably easier to have a quick look at the repo for my work in progress:
  <a href="https://github.com/roblevintennis/passport-api-tokens" rel="noreferrer" title="passport api tokens sessionsless">passport api token sessionless</a></p>
  
  <p>Ultimately, my goal is to have logout work properly for that boilerplate project (which it currently it doesn't).</p>