Add test function about when HTTP session disconnected, authToken to check empty.
Remove unnecessary function.

Because authToken does not change when error happen in updateAuthTokenIfNeeded().