WASHINGTON (AP) — Kerry says he and Afghan President Karzai have agreed on terms for bilateral security deal.