Fix long polling - clear pending requests when a client reconnects

`api.stream` is missing passing the `firstRequest` parameter to `api._setupUser`. This causes us not to clear any pending requests when a client reconnects, and as a result, the users list can get lost.