שגיאת 401 Unauthorized לאחר ההתחברות

Is this a standard install?

That looks like an nginx error. Nginx does not do authentication in discourse.

Are you running a reverse proxy? Cloudflare?

I’m fairly certain that something other than discourse is causing that message.