Implement Basic Auth rest client service.