Fix social auth foreign key