Support custom User models in Django 1.5+