[api,webui] do not require ci_reporter unless test env