[Issue #1825] Conditionally NSCoding session configuration