Unable to send request header 'Authorization' using dhtmlXFileUploader

I am unable to add the request when using dhtmlXFileUploader component, I try to update the loader when the event onBeforeFileUpload is triggered but it is still not working, could you please assist.

Thank you