pub async fn login( client: &KanidmClient, person: &Person ) -> Result<(TransitionResult, EventRecord), Error>