Change authentication systems to use the Authentication class