title: Magento 2 API always returns Consumer is not authorized to access %resources
body: <p>I am trying to use the Magento 2 rest API, but even when just curl'ing from command line, the only response I get is <code>Consumer is not authorized to access %resources</code></p>
  
  <p>I managed to get a token with </p>
  
  <pre><code>curl -X POST "http://magento.dev.blackorange.nl/index.php/rest/V1/integration/admin/token" \
  -H "Content-Type:application/json" \
  -d '{"username":"adminuser", "password":"adminpass"}'`
  </code></pre>
  
  <p>but when i try </p>
  
  <pre><code>curl -X GET -H "Authorization: Bearer TOKEN" "http://magento.dev.blackorange.nl/rest/V1/products" 
  </code></pre>
  
  <p>(or any other endpoint) I get the-the <code>Consumer is not authorized to access %resources</code> message</p>
  
  <p>Am I missing a step somewhere?</p>