Make sure the authorization headers are always accurately calculated.