Fixed custom User compatibility in Django 1.5, preventing circular imports.

Tested with a project with an actual custom User model.