Implemented the logic to read the Central username and password form the login-config.xml. Modified the logic to not to add application policies with unencrypted password to the login-config.xml file.