updated authentication tests