fix test, mock HttpSession
Merge remote-tracking branch 'origin/master'