Support of Django 1.5 custom User class.