Added check for respondsToSelector on optional method socialManager:loginRefusedWithError: