Fix '-disableXmlSecurity' flag usage.
Fix logging.