fix indentation-caused bug; spiff up output.

The choose-credential-for-editing method had
a statement mistakenly inside a loop and was
printing extra newlines.