public IObservable<Unit> TestUserNameAndPassword() { var client = new RestClient("https://api.github.com"); client.Authenticator = new HttpBasicAuthenticator(User, Password); return client.RequestAsync<GitHubUser>(new RestRequest("user")) .Do(res => this.Log().Info("User's URL: {0}", res.Data.url)) .Select(_ => Unit.Default); }