title: passport.js - Access fail message after 401 error
body: <p>Currently I can access messages set in <code>done(null, user, {message: 'ok'})</code> inside post request via <code>req.authInfo</code>like this:</p>
  
  <pre><code>app.post('/reg', passport.authenticate('local-reg', { session: false }), function (req, res) {        
          console.log(req.authInfo.message); --&gt; 'ok'         
  });
  </code></pre>
  
  <p>Which is very useful.<br>
   But how can i access message like this <code>done(null, false, {message: 'username taken'})</code> in the same fashion, as it seems that passing <code>done(null, false)</code> in passport.authenticate makes it throw 401 unathorised, therefore not forwarding to the route handler itself.<br>
  Maybe i misunderstood something? </p>
  
  <p>P.S.: I'm posting through <code>jQuery.post</code>.</p>