Tentative patch to set_locale that prevents ajax controller from using @user.