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
These are some test files, with some default users baked in. Can remove them, if they are an issue?