SLIDER-571 correct determination of RM webapp url