Fix race condition in auth cred create

Fix race condition in authentication credential creation that could corrupt
memory. (NOTE: This race condition has existed since 2003 and would be
exceedingly rare.)
Merge branch 'slurm-2.6'