Fix error when social login canceled