As Alamofire fire immediatly after creation the request by default, the method updateRequestAuthorizationHeader duplicate the request at this line of code :
self.requestManager.request(newURLRequest)
I propose, to improve clarity of the code to set startRequestsImmediately to false, and resume the request at the end, in the sendRequest method