Update http auth mechanism