Finally fix credentials util usage. Refs #4.