[FIX] http.py: no traceback for SessionExpiredException

Rebase and close #3618