Bug fix with an authorization when mongo user and password given, part 2