I'm confused by these helper methods.  They don't seem to be accessed outside this module, or even outside of `MongoLoginHelpers`.  If so, they should be private methods of `MongoLoginHelpers` (by convention, private methods are prefixed with an underscore).  They should also be decorated with `@staticmethod` since they do not need a `self` argument.