Fix memory leaks in slurmd related to job state and credential files.
Call the correct plugin fini function.