[CXF-5653] Optional support for the same URI redirects