Added connect.sid cookie creation for xhr login and 404 detection for static files