XWIKI-9674: Stop supporting URL rewriting when cookies are turned off
* Make sure that the encodeURL call that was added in 5.2 is also not causing problems for 5.2.2, to be on the safe side.