Follow-up of request #38281, the test can sometimes trigger an error 500 when visiting Mediawiki's main page (somehow it's "normal"). Since those errors are triggered while reloading the page several times until an async event has been run, we should ignore them and keep trying even in case of error.