Implementing support for password fields