MongoEngine/mongoengine — pull request #573 by pingyu (2014-02-13 10:04:06+00:00)
Title: Add "authsource" support for mongoengine.connect

This requirement came from a real project.
The user of mongo is add to 'admin' db to enable access for all dbs. So we need to specify the source of authentication to 'admin'.
Then we can connect like this now:
mongoengine.connect('main', alias='conn_main', authsource='admin', username='xxx', password='xxx')