login with bitbucket account, error when any verified email is set

I had an UnboundLocalError exception on connecting bitbucket account if there was any verified email account there.
Bittbucket api disallow get user data by not verified email accounts so I raise AuthForbidden exception then.