Added password field to the demo
Fixed warnings in code
Since password make a server-side validation, removed the email validation
Adopted validation code to handle widgets of type PasswordInput