Only authenticate with MongoDB if username and password are set
multi=True on service.finish()