Improved the default password generator.