ST. PAUL—Eight years after he first ran for president, Senator John McCain of Arizona accepted his party’s nomination Thursday night with a speech that touched necessary bases, but was considerably less well received than the one his vice presidential pick, Sarah Palin, delivered the night before.