Adding HTTP authentication capability