Support custom user models in Django >= 1.5