Bug fix with a authorization when mongo user and password given