If cookies are disabled or
if the current page is the first page that requires session,
then o.a.t.dojo.AjaxShellDelegate outputs the following baseRelativePath:
This is problematic because dojo uses this url to dynamically include additional resources, and the existance of
jsessionid breaks this.
The real cause of this is
TAPESTRY-802, which modified EngineServiceLink in a way that does not take into
account the stateful parameter, which in turn causes asset links to be encoded (HttpServletResponse.encodeUrl is
called on them) and thus jsessionid appended.