user: Remove deprecated and unused method `getPasswordValidity()`