fix https://github.com/Nodge/yii2-eauth/issues/12

see https://github.com/Nodge/yii2-eauth/issues/12