Formatting only; no substantive changes
Add test to confirm that regenerate credentials POST is broken, and a fix to repair that breakage.