tests: Refactor test checking origin browsing errors
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.

SoftwareHeritage/swh-web-ui,SoftwareHeritage/swh-web-ui,SoftwareHeritage/swh-web-ui