Update to Django 1.5.2 and rewrite login form