Added some authentication tests.