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