NXP-15765: use HTTP session before cookies to get session id