Don't redirect XHR requests to /login.
Authored by: jplang 2013-06-12
Parent: [r11961]
Child: [r11963]