pub async fn authorize_api_token(
    token: String,
    context: Arc<RwLock<SchedulerContext>>
) -> Result<(), Rejection>