Ensure reset password has at least the minimal configure length
We have a configuration setting about minimal length for password but we generate by default a password of length 8. If the configuration requires a greater password, we should increase the length.