fixed PortalContextAssociationManager to be usable from within the engine and fixed lazy loading for all cases