[OESB-3808] The class Password should be more generic