Ticket #810: Validating password length, fixing passwords mismatch validation and displaying labels on login form