master: Fixed issue with finding authorization headers.