If you try signing into YouTube on your Apple TV by scanning the QR code, it opens the YouTube app which isn’t compliant with Google’s secure browser policy, so it fails to sign in.
If you try signing in using your username and password on the TV, Google throws a custom keyboard that isn’t compatible with the Remote app or autofill features.
I remember when Joshua Topolsky insisted Google was getting better at design.