Fixes #3283: Added `$checkAjax` to `yii\web\User::loginRequired()`