Set properly Authorization header on upload files.