add mongo auth support, and copy a md5 lib to 3rd