Make login nicer

User curl for encoding of the URL parameters in login() and pass them
via a temporary file as well so they don't show up in the process list.
Fix logout

Call https://hotspot.t-mobile.net/wlan/stop.do instead of
http://logout./.
Use grep -F where applicable