fixing problem with properties file and not showing passwords in log