Fixes #3379, #3458: We now use the password field type where necessary

To be merged in master

Ticket: http://www.rudder-project.org/redmine/issues/3458