Handle mongodb auth error