Fixed auto logout on session timeout snippet