Remove duplicate connection logic when verifying default credentials