SLIDER-424 use correct uri scheme based on configuration