Fix PortalImplCanonicalURLTest