Truncate long passwords to stay within the eight character limit.