No it does not look for a login cookie. It actually attempts to retrieve a specific Yahoo finance page which contains different information based on whether you're logged in and subscribe to Yahoo Finance. If it finds the string on that page then it knows you are subscribed and logged in, otherwise it knows you'll be retrieving delayed quotes.
Your Ad Here