actually rawman and manager are very different, and you don't need cookies just to test login. However, I found the problem: I forgot quotes around the curl command. Thanks!