Support custom user objects (for Django 1.5)