Social Security beneficiaries have to verify their identities in person, but dozens of locations are shuttering their doors.