Fixes authentication example in Client documentation

Fixes documentation so that it actually compiles (and works) with HttpClient prior to 4.3 (which is what RESTeasy currently depends on)