Are you referring to the captive portal that pops up when joining the guest network? Else, you should always have to enter a security key for WPA2 enabled networks.
If you don’t see the captive portal, you can go into your managed networks (System Preferences -> Network -> Wi-Fi tab -> Advanced) and remove it from the list of networks you’ve connected to before. Then, rejoin the network.