Cameron LaFerney

Results 2 issues of Cameron LaFerney

## Bug tests https://github.com/vercel/next.js/issues/41397 This PR adds a test for the linked issue. _NOTE:_ The test will only fail with `NEXT_TEST_MODE=deploy`.

### Verify canary release - [X] I verified that the issue exists in the latest Next.js canary release ### Provide environment information From Vercel: Operating System: Platform: linux Arch: x64...

kind: bug
area: Middleware