Fixed wrong implementation of setAuth and setHeader

the code was copy-pasted from GoutteDriver but the client is not a Goutte
client but an HttpKernel one.