Add forward-compatibility with Django 1.5 custom user models