Try taking the space out of 'id=xxxx; pw=xxxx'. Cookie values are just seperated by a semicolon. I don't know how much of a problem a space would cause.
As for the cookie jar, you might want to make sure its a valid file and it has read/write permissions (chmod 777). Even if its empty, that's ok (try "touch [cookie file name]" to create a blank file or just FTP up a blank file).
Once you have the file in place, try the script. Then check the file to see if there's any saved cookies in it (FTP it down and use a editor). If you have something, then life is good. If you don't, then make sure the site is sending cookies. If it is, then you may have other problems...