Added session invalidation when failing to retrieve ClientAction object.