How session identifiers help protect APIs