Description
With 1.21.5, after logging in through SSPI, the login succeeds, but the user remains on the sign-in page instead of redirecting to the home page.
Gitea Version
1.21.5
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
Before logging in:

Immediately after logging in with SSPI:

Screenshots are from Edge 121 but happens with multiple browsers.
Git Version
2.39.1
Operating System
Windows Server 2019
How are you running Gitea?
gitea-1.21.5-windows-4.0-amd64.exe downloaded from Github.
Database
SQLite