Added max tries for login attempts. Added preliminary support for forgotten passwords
The server command resetPassword can later be used for forgotten passwords, but the UI for it has not yet been added.
A forgotten password pane triggered by a forgotten password pane can be used.
A java API for sending emails exists and seems somewhat simple, we can use it to send temporary passwords to the user's email address.