LPS-49683 Fix com.liferay.portal.util.PortalImplCanonicalURLTest