When the request for secrets fails we don't enable the "Connect" button, but the "Cancel" one should become enabled. (cherry picked from commit 4e9d6800)