Creates custom auth classes for usage with tastypie and sets CSRF header
for all ajax calls made with jquery.