Bug 17050: Do not kick the session out when accessing the REST API