Updated error component HTML retrieval to use elevated resourceResolver as it may reside under /apps which are protected on Publish from anonymous users.