Added check to reroute 401 and 403 error codes on AJAX requests to go to
login page. Upped session timeout to an hour.
SITEWHERE-93