Support for MongoEngine authentication using Custom User Model

Tries to address the issue described in http://stackoverflow.com/questions/18947938/python-social-auth-fails-with-mongoengine-django