XWIKI-9674: Stop supporting URL rewriting when cookies are turned off
* Revert change done to test because of jsessionid in URL which is no longer need