Fix bug in RestClient
Fix auth header bug in UAAClient