enable basic_auth protected api-endpoints