Refactors password validation logic to use a common `PasswordValidator` utility. This ensures consistent password validation rules across different parts of the application, including:
- User login
- Email sign-up
- Password change
- Account removal
Also adds a string resource for password too long error message.