bug fixes.
Merge pull request #352 from edx/e0d/fix-mongo-user

bug fixes.