[MINOR] Session variable was undefined in Basic Context