Http auth

merge in http authentication changes by ConfusedTA