minor fixes to credentials