Add autocomplete=off switch for the password field.

Some clients require disabling of the browser password handling
mechanisms. Add a switch to make it possible without hacking the core.

No change to default behaviour.
Merge pull request #2085 from mateusz/password-autocomplete

Add autocomplete=off switch for the password field.