Fixed API session resumption