The bug is highlighted when uploading a blob using the BatchUpload: all the headers from BatchUploadAPI are lost when computer the headers for Portal SSO Authentication.
The consequence is for example that the blob filename is lost.
I think that only the Authorization header should be removed for the original request headers and
Please find attached a suggested patch.