I adjusted this slightly as we weren't checking previously if the jetpack site was connected to WordPress.com and if you attempted to sign in it would result in an error message. @koke does this part look ok to you?