Add Tastypie SessionAuthentication support

I needed to make use of the SessionAuthentication feature in Tastypie, which requires a CSRF token to be sent as a header.

http://django-tastypie.readthedocs.org/en/latest/authentication_authorization.html#sessionauthentication