Fixed default parameters and authentication header

RestClient default parameters and Authentication were not taken in consideration.
Merge pull request #559 from IlSocio/patch-1

(Portable) Fixed default parameters and authentication header