enable http basic auth for api-services layer