Adapt to Django 1.6 user models