Try to use session id from session if none exists as cookie.