Adding support for custom user models in Django 1.5+