Update makeHandleAuthenticatedResource.js