Added a length check to the password seed.