Credential dialog 修正