title: Can't do post with curl and ApiKeyAuthentication in tastypie
body: <p>I am using tastyPie 0.9.11 to create a RESTful API.</p>
  
  <p>I got the API working ok, but then when I added APIKeyAuthentication I couldn't get the POST request to work.</p>
  
  <p>I have set authentication/authorization in my resource meta as:</p>
  
  <pre><code>authentication = ApiKeyAuthentication()
  authorization= Authorization()
  </code></pre>
  
  <p>and I have manually added an API key in the admin site for user admin, with key 1234567890.</p>
  
  <p>When I do a GET it works ok (http://127.0.0.1:8000/api/v1/application/?format=json&amp;username=admin&amp;api_key=1234567890 )</p>
  
  <p>However when I try to do a POST using curl:</p>
  
  <pre><code>curl --dump-header - -H "Authorization: ApiKey admin:1234567890" -H "Content-Type: application/json" -X POST --data '{"user": "/api/v1/user/1/", "title":"api test application"}' http://localhost:8000/api/v1/application/
  </code></pre>
  
  <p>I get a 401 not authorized error. </p>
  
  <p>I am following the documentation by adding the Authorization header, but maybe there is something else I am doing wrong?</p>