This responsibility of relaunching on login falls on the UI process, and the WebContent process on macOS should disable this.
<rdar://problem/74709814>