pub(crate) async fn consume_login_token( services: &Services, token: Option<&str>, ) -> Result<OwnedUserId>