[web/test] properly reset the request connection related attribute
A new request does not have those attribute to None. There have special value
that we now properly reinstall.
Experiment with the search bar. Try queries like "card sometextualcontent" or"card wikiid index" or "345".