Web-ui login refreshes itself

I can connect to my Ubuntu desktop running mineos through ssh and the mineos login screen. However, when I try to login as as sudo user or a user without root permissions, the page just refreshes and doesn’t log in.
I believe its similar to this forum post, Cannot login to WebUI - #4 by thejaxster
or Releasing an updated ISO and update timeframes - #3 by ElPres
where the type of password is changed.
I am new to Linux. I don’t understand either solution and my attempts at both have been futile.
Please help me!

if the page refreshes and empties the text fields that means you entered the wrong details/password