Added enforced HTTP Basic Authentication
Removed superfluous (disabled) code
Integrate pull-request #76: enforce HTTP Basic authentication