add authorization support to mongo collector