[FIXED JENKINS-24130] - Added an option to mask PasswordParameters

This is a straightforward implementation, an additional re-factoring would be useful.
The option is enabled by default, but this behavior can be changed in order to prevent any compatibility issues.

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>