I have created a custom backend which accepts email/password combo only. The backend with the authentication function is as so:
class EmailOnlyBackend(ModelB