#14107 bot requests like /widget/oauth_login/info.txt cause finding correct context with plone.app.theming

* try to find a content object for the context on 404 pages
* the test only fails without the fix if archetypes is being used for the content types