Add authentication tests