Don't raise a 404 exception when a page is not found. Instead, simply bypass the setup middleware so that other middleware have a chance to process further. Slight modification so that resolve method can be mocked during unittests.