Minor: Fixed a typo.
Fixed isComplete() for credential setup dialog.