How can I achieve basic authentication in Drupal?
Drupal 7 will not set a session cookie unless it has to, for performance reasons. If there is no form under http://127.0.0.1/drupal/node, and no module requires sessions, you will not get any session, simple as that.