fix social login if uid is None