Creating collection entry yields error: "strapi `Protect` must be used within `Auth`"
<!--
Hello 👋 Thank you for submitting an issue.

Before you start, please make sure your issue is understandable and reproducible.
To make your issue readable make sure you use valid Markdown syntax.

https://guides.github.com/features/mastering-markdown/

Please ensure you have also read and understand the contributing guide.

https://github.com/strapi/strapi/blob/main/CONTRIBUTING.md#reporting-an-issue
-->

## Bug report

### Required System information

<!-- Please ensure you are using the Node LTS version (18, 20, or 22) -->
<!-- Strapi v3 is no longer supported, please update to Strapi v4 -->
<!-- If you are reporting a frontend bug please provide error logs after setting STRAPI_ENFORCE_SOURCEMAPS=true in your .env -->
<!-- This environment variable makes frontend errors easier to read and trace -->

- Node.js version: v20.18.1
- NPM version: using pnpm 9.9.0
- Strapi version: 5.5.0
- Database: mariadb:11.3
- Operating system: alpine
- Is your project Javascript or Typescript: TS

<!-- Did you know you can run `yarn strapi report` or `npm run strapi report` to get this information easier? -->

### Describe the bug

After dropping the database and recreating the admin user everything works fine, but if I go to any collection and try to create a new entry a frontend error is shown: 

`strapi Protect must be used within Auth`

The setup was working just fine before resetting the database. I assume that recreating the admin user did something wrong. 

There are a couple of similiar issues that did not pass the bugreport requirements, so there seems to be a problem: 
- https://github.com/strapi/strapi/issues/22185
- https://github.com/strapi/strapi/issues/22198
- https://github.com/strapi/strapi/issues/22224

### Steps to reproduce the behavior

1. Drop database
2. Restart strapi
3. Create admin user
4. got to any collection => create entry

### Expected behavior

No error is shown

### Screenshots

![grafik](https://github.com/user-attachments/assets/a2711a24-4d64-4fb1-b88c-5a8d1e256f1c)

### Code snippets

none

### Additional context

Stacktrace from browser console:

```
The above error occurred in the <Protect> component:

Protect@https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-BT26MBRR.js?v=1dcf76b2:1638:15
InjectedImportExportSingleType@https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-2AWURZ5M.js?v=1dcf76b2:66300:45
InjectionZone@https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-TA2NL7HV.js?v=1dcf76b2:135:21
div
O2@https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-AKSCLQJA.js?v=1dcf76b2:1267:6
Box<@https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-OAJ7Z6LW.js?v=1dcf76b2:4869:7
O2@https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-AKSCLQJA.js?v=1dcf76b2:1267:6
Flex<@https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-OAJ7Z6LW.js?v=1dcf76b2:4976:92
ActionsPanelContent@https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-TA2NL7HV.js?v=1dcf76b2:3091:29
aside
O2@https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-AKSCLQJA.js?v…
react-dom.development.js:18704:14
```

```
React Router caught the following error during render Error: `Protect` must be used within `Auth`
    useContext2 Context.tsx:33
    h index.ts:169
    useContext2 Context.tsx:30
    Protect PageHelpers.tsx:182
    React 9
    workLoop scheduler.development.js:266
    flushWork scheduler.development.js:239
    performWorkUntilDeadline scheduler.development.js:533
 
Object { componentStack: "\nProtect@https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-BT26MBRR.js?v=1dcf76b2:1638:15\nInjectedImportExportSingleType@https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-2AWURZ5M.js?v=1dcf76b2:66300:45\nInjectionZone@https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-TA2NL7HV.js?v=1dcf76b2:135:21\ndiv\nO2@https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-AKSCLQJA.js?v=1dcf76b2:1267:6\nBox<@https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-OAJ7Z6LW.js?v=1dcf76b2:4869:7\nO2@https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-AKSCLQJA.js?v=1dcf76b2:1267:6\nFlex<@https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-OAJ7Z6LW.js?v=1dcf76b2:4976:92\nActionsPanelContent@https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-TA2NL7HV.js?v=1dcf76b2:3091:29\naside\nO2@https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-AKSCLQJA.js?v=1dcf76b2:1267:6\nBox<@https://cms.klink.localhost/nod…" }
hooks.tsx:631:12
    componentDidCatch https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-WBAU2NZA.js?v=1dcf76b2:4071
    callback https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-2UE3WFCV.js?v=1dcf76b2:14104
    callCallback https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-2UE3WFCV.js?v=1dcf76b2:11268
    commitUpdateQueue https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-2UE3WFCV.js?v=1dcf76b2:11285
    commitLayoutEffectOnFiber https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-2UE3WFCV.js?v=1dcf76b2:17097
    commitLayoutMountEffects_complete https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-2UE3WFCV.js?v=1dcf76b2:18008
    commitLayoutEffects_begin https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-2UE3WFCV.js?v=1dcf76b2:17997
    commitLayoutEffects https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-2UE3WFCV.js?v=1dcf76b2:17948
    commitRootImpl https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-2UE3WFCV.js?v=1dcf76b2:19381
    commitRoot https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-2UE3WFCV.js?v=1dcf76b2:19305
    finishConcurrentRender https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-2UE3WFCV.js?v=1dcf76b2:18788
    performConcurrentWorkOnRoot https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-2UE3WFCV.js?v=1dcf76b2:18746
    workLoop https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-2UE3WFCV.js?v=1dcf76b2:197
    flushWork https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-2UE3WFCV.js?v=1dcf76b2:176
    performWorkUntilDeadline https://cms.klink.localhost/node_modules/.strapi/vite/deps/chunk-2UE3WFCV.js?v=1dcf76b2:384


```
