Debian 11 switched from using a sha512 hash algorithm to yescrypt. MineOS uses sha512 to hash the passwords passed from the webui login and compares it with the shadow hash in /etc/shadow. Since the way the passwords are hashed is different, the hashes won’t be the same, not letting you log in. You could either change the method which mineos uses to hash from sha512 to yescrypt, or do the easier option, changing the hash method for PAM. To change PAM’s hash method, run sudo nano /etc/pam.d/common-password. Change the line that says password [success=1 default=ignore] pam_unix.so obscure yescrypt by replacing yescrypt to sha512. Save the file and exit. Now change all of your user passwords with passwd and that should fix the problem.