James Vaughan scored against his former club as managerless Huddersfield recorded a 1-0 home win against Crystal Palace.