Optimized social_auth check