Added support for http digest authentication

fixes #102
Enabled Basic and Digest Auth to coexist
Simplified and fixed digest authentication implementation
Added digest authentication and arb_auth integration