Fixes #5435: Added extra checks to `yii\rbac\DbManager` to prevent database exceptions when `$userId` is empty