Set session to automatically terminate after browser tab close.