Basic Authentication

I'm using Sorcery with Basic Authentication setup. The Authentication
works fine if I access it through the web, however, I cannot seem to
get succeffull authentication through CURL:

curl -u testu:test http://localhost:3000

what am I missing?

Forgot to say that I get Access Denied.