Login url fix when called from a module
Refactored redirect() methods.
Merge branch 'master' of github.com:yiisoft/yii2
Reverted the change to User::loginUrl.