Added HTTP Auth and HTTP Digest authentication #302

Supporting HTTP auth and HTTP Digest autentication on the web UI now. #302 

The sample test.htpasswd and test.htdigest have a test user called admin with password as password1
Documenting their format may be better. How about removing them and adding a `docs/auth.md`? Can be in another PR :)