The problem was that the line
HttpsAuthenticator username:password
wasn't present. My bad...
-- Eduardo Costa Lisboa