Why would you bother to use or even more so patch the official youtube client if not to sign in to your account? It's objectively shitter (bloated, buggy, full of dark patterns) than the open-source alternatives. NewPipe/PipePipe work beautifully without an associated account...