Implement credential validation when creating a new plugin