bugfix - on ajax request redirect to login if session timeout