Allow creating session for Portlet UI init request (#12473)

Change-Id: I4c62e246c026cec7c87c2bd5ee5435891f885882