CMS-3993 Implement new portal url builder in portal API