Last fix could cause Login to fail

* Made fix for chromecast in another way