Maybe try changing the Wi-Fi sleep policy. From the home screen click the menu button and go to: Settings > Wireless & Networks > Wi-Fi Settings. On the Wi-Fi Settings screen click the menu button again and select "Advanced". Click on "Wi-Fi sleep policy" and you'll get a menu from which you can select one of the following options: "When screeen turns off" (default), "Never when plugged in", and "Never". I have mine set to "never" and I manually turn the wi-fi radio on and off from the Power Control widget on my home screen (it comes pre-loaded on Android).
Some wi-fi hotspots require you to accept a TOS (Terms of Service) agreement in the web browser before you can use the service. Once the Wifi is connected, open the browser. If your home page is still set to Google, you'll probably see the Google page come up, but I believe that's only a cached page, not a "live" page from the internet. I'll just try to open one of my bookedmarked pages or type msn.com in the address bar. That usually forces the wi-fi provider's TOS page to appear.
McDonald's now offers free wi-fi, and sometimes when I go there and turn on my wifi radio, my DoggCatcher app automatically tries to sync and download podcasts before I've had a chance to accept McDonald's TOS in the browser. Sometimes DoggCatcher shows that it downloaded podcasts, but, in fact, those files are dead. I delete them and add them back to the download queu after I've accepted the TOS. Now I set DoggCatcher's preference not to sync unless connected to Wifi and power. The I uncheck the "connected to power" option after I've accepted the TOS.