#3 - added authentication tests.