steam-http: fixed duplicate headers/parameters being defined

This was an oversight when type casting g_ascii_strcasecmp() to a
GEqualFunc. GEqualFunc defines a boolean for return, not an integer
based on the match.

This resolves issues with HTTP auth requests (and possibly other
requests) failing.
steam: only send logoff request if actually logged in