Should set $app->user because it has been cleared. bugod:111182