Password features as a trait