Implements a test for the Authentication class