social network auth bug fix