slave: Add back setting of session-id

It turns out this *is* used, after all...