I don't understand the "Basic Authentication process". I am using RESTclient to authenticate into a website.

Actually, I am trying on two websites. In a bitnami stack Drupal 7, in RESTclient, using the home page of the site as URL, and and Header "Authorization" with user="restwsuser" and password="password" I have no problem. I do the POST and I got a set-session key back.

On the other hand , using a core Drupal 7 downloaded from drupal.org, that is, deployed on my own, I have NO such session-key. Needless to say, that "bitnami" and "own" Drupal have the same configuration "apparently" and I am using the same process.

I have learnt that it might be related to some redirection in the login process. Since I have been enable to get the session-key by trying to mock the login process ( doing a urlopen of the login page) with a python script and stopping the redirections and just getting the session-key.

What am I doing wrong? What part has I missed?