The U.S. Capitol Police arrested a man at a security checkpoint in Washington on Friday after he flashed what an officer described as an “unauthorized” inauguration credential and a search of his truck found an unregistered handgun and more than 500 rounds of ammunition, the authorities said.