added basic HTTP authentication