Password field will not clear after a wrong login. Multiple backspace presses required to erase a long pwd.
In Main.qml, to automatically clear a wrong password, after a wrong login pls consider adding after the onLoginFailed() :
password.text = ""
This will clear the password, so that the text field is ready for the new entry.
If you'd like, you can also check a kind of fork of this theme that I wrote here