Handle http auth
Fixed mixed content