Update backends.py

Customized for django project with django-email-as-username.