header and tries to login the user with the credentials given. Usually,
you would have a setup that your OpenERP instance sits behind a proxy
that does the authentication and passes it on via those headers.
The second modifies the logout procedure to clear the browser's credential
cache for basic authentication for the site OpenERP is running on.
It is split into two modules because of the web client's habit of loading
all addons which have a static directory, resulting in always executing
auth_from_http_basic's monkey patch. This way the user has to consciously
decide to load the addon.