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
You can register this handler twice if both files were specified. Is only one file allowed? This is something we should check.