Return 401 if ensure_setup_finished fails