Fixes #26: Not compatible with Django 1.5-derived custom User classes