Fixed connected account bug

Fixed a bug that allowed a user to create an account with facebook, twitter or google, connect a local account, and use the same email address as an existing local account.