NXP-10584 Add groups validation
NXP-10584 refactor validate password with new introduced methods