Issue #3020372 by daniel_j, AohRveTPV: Notice: Undefined property: stdClass::$uid in _password_policy_get_authentication_modules_for_user()