private async Task Login(string username, string password) { var reply = await _client.LoginAsync(new LoginRequest { Username = username, Password = password, }); _metadata.Add("token", reply.Token); }