Unit tested PasswordModel using TestRandomizer. Fixed crash in password auto-generation.