Add support for custom user model in Django 1.5