Fixed password validation errors