Add compat for custom user introduced in Django 1.5