You need to get the page you're logging into.

GET /login.php?u=nick&p=pass HTTP/1.1 for example.

Or just GET /login.php HTTP/1.1

-Andy