brutasse/django-ratelimit-backend — pull request #1 by ametaireau (2012-06-07 22:18:56+00:00)
Title: authentication backends only take two arguments

So the last one, the request isn't needed. Even worse, it can come to be realy
hard to debug since the code of django.contrib.auth catches the TypeError
exceptions and just act like if nothing happened.

I encountered this when plugging another authentication backend
(django-auth-ldap). Not sure why the default ModelBackend doesn't seem to cause
any problem.

I have this hotfix on my server and it solves my problem.