Auth_Basic

added just comment - maybe logout() can be changed to use api->destroySession() ?
Any drawbacks?