Improved API support
Added a session handler supporting HTTP-Authentication based sessions