Send login from login.c, HTTP error answer broken