title: React wont send req.user to API endpoint, browser returns object as expected
body: <p>I am using PassportJS authentication for my React app. The login seems to be working correctly when I use the browser to authenticate and login, <code>GET</code> and <code>POST</code> data to endpoints. However, when I try to retrieve data from the API within the react component, I get a 500 error from the server saying <code>req.user</code> is <code>undefined</code></p>
  
  <p>The post is triggered inside my component using <code>fetch()</code></p>
  
  <pre><code>   _getItems(){
       fetch('/api/items').then(function(response) {
          return response.json();
       }).then(function(j) {
          console.log(j);
       });
     }
  </code></pre>
  
  <p>Which then returns a 500, if i then simply go to the endpoint in the browser <code>localhost/api/items</code> I see the expected response without error.</p>
  
  <p>Any ideas what is going on, and why React doesnt seem to be sending the authenticated request?</p>