We are trying to do a programmatic login using a login servlet. The servlet is configured as the target for the unauthenticated user and the user is logged in using j_security_check in the doGet / doPost method. We want to add info to the PortalSession at this point. However Navigation.getPortalRuntimeContext().getSession() gives null. Any pointers how this can be achieved?