Also removed some compilation warnings. See Bugzilla bug 150
Added support for enable/disable root user, this is currently used in MySQL authentication