Authentication changes and major update to authenticaiton testing