Only send id and token through HTTP login
Add more socket tests