fn authenticate_with_credential( users: &HashMap<String, Vec<u8>>, input_id: Identity<'_>, input_pwd: Password<'_>, ) -> Result<UserInfoRef>