Detect invalid/insufficient credentials during test connection