Fixes for mongos handling when authentication