@smn this is needed in order to return some form of error message for the user otherwise no data is returned, from https://github.com/toastdriven/django-tastypie/blob/master/tastypie/authentication.py#L159 it can be seen that I am not changing the overall function.