Fixed default parameters and authentication header

RestClient default parameters and Authentication were not taken in consideration.