Apply MT::Lockout::process_login_result even in MT::App::Upgrader. bugid:110286
Return an error message for invalid password error. bugid:110286
Escape some characters in JSON text. bugid:110286
Before performing run_actions, check whether upgrade is needed. bugid:110286