Fixing issue with Authorization headers