BasicAuth leads to Panel Error

Okay, I’m pretty convinced that the problem does indeed come from the .htpasswd.

its related to this:

Note: when I removed the .htpasswd for testing, the session remained active, which interfered with the panel.