Fixed error message when user cancels the credential popup