Fix use of AuthDataWithContext capability