CORE-5089: always treat URL components as relative when constructing the proxy callback URL