MONDRIAN-1850 - creating optional encryption for olap4j passwords.  refactoring out some common code.