Fix login server HTTP GET bug

Where the replies to HTTP GET requests would be sent in the wrong order.
Fixes #3