AWS Fix JWT Timeout Bug on Indexing
The access token can expire after Storage record creation but before the index is creating causing some records to not be searchable (see issue #157 (closed)). A workaround for the issue is to use the SP user to generate a new token. The change only impacts AWS provider code since the overridden methods getHeader
and getHeadersMap
call the corresponding methods to replace the authorization header with the SP token.