TJ/JPM: partially revert "JPM/TJ: secureurl option no longer used."

Somehow redirect works different than expected
JPM/TJ: wider deps on meresco-xml.