Some of the urls actually have other things to substitute besides the context root actually, just remembered. So it won't work this way as those parameters are expected to go away if there is no value for them, e.g. auth type in profiles service.