https://stackoverflow.com/questions/58089827/asp-net-core-authentication-broken-after-upgrade-to-3-0 We need to execute `app.UseAuthentication()` and `app.UseAuthorization()` in between `UseRouting` and `UseEndpoints`. Will investigate.