LPS-48062 add the method
LPS-48062 set the context path early
LPS-48062 trust that PortletApp has the correct contextPath