basic restClient for authentication