President Biden on Friday signed the $886 billion defense policy bill into law, securing the largest raise in military basic pay in decades but also extending the government's authority to spy on the phone and internet activity of foreigners living abroad, which opponents fear could be used against Americans.