Add proper test for ResourceLoader errors.

The test is only for create_account; it should be promoted to PageObject
so that visiting any MediaWiki page checks for RL errors.

Bug: 44299
Change-Id: Idaadb99855f0462b2fe50d18b7221235c3bce3dc