Add method to check password strength validity and use config directly