Support custom User model for Django 1.5+