Allow also digest auth mechanism.

Currently only basic auth was supported. I added the ability of doing
digest auth (via 'env.auth_type').

Also, I fixed a bug where 'env.status_url' was ignored.
Merge pull request #386 from Necoro/lighty_digest

lighttpd: Allow also digest auth mechanism.