pub async fn authenticate_record( kvs: &Datastore, session: &Session, authenticate: &Value, ) -> Result<Thing, Error>