Added functionality to set Authentication Mode on website