Offline Timeout requires login

Amol’s fix to push user to login page when AJAX call made when token
expired