Fix PHP notice in social-connect.php

Prevent PHP Notice from the `get_class()` method when `$id_or_email` is `false` or `null`.
Thanks for your contribution.

What about simply replacing get_class($id_or_email) with is_object($id_or_email)? I guess that this will fix the PHP notice with less code.