Invalid login test works.

I stubbed out the gateway, but it said that ssl_request was
never invoked. This seems improbable...