get module instance via module property of Controller

replace `Yii::$app->getModule('oauth2')` with `$this->module`

the former has the hard coded module name `oauth2`, which should be avoided.