Fixing integration bug with authenticated requests