Enh: improved social networking login, fixed problems in hoauth extension