I was tempted to code an else if branch such as:

else if(!g.bAllowSavePassword) Database::removePassword(host, port, uname);

So that for existing server switching the option(true->false), would force clients to remove the previously stored password.
Let me know what you think.