Fixes social auth