adds if session.id logic to header to get around testing backtrace issue