Support of `yii-user` version, when Profile::regMode isn't static property