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