Add context-root in URL used for session checking