tests: Refactor test checking origin browsing errors
Split the test_origin_request_errors
pita test into multiple smaller ones,
use hypothesis and remove some no more needed mocks.
Depends on !290 (closed).
Migrated from D3022 (view on Phabricator)