Fixed EZP-20508 - Module redirection in legacy sometimes lead to have double siteaccess in URI

This issue has been there for a long time it seems...

Manual tests