If anyone else is experiencing this issue where you can’t cast a view unless you are already authenticated, please make some noise on the Github issue. Cheers. https://github.com/home-assistant/home-assistant/issues/28971
There’s also a thread about it. Google Cast error - Unable to find a view with path xxxx