Try changing the trigger of the authorize.net server behavior on line 144 to:
if (!isset($_GET["plugin_file"]) && (!isset($_POST["payment-type"]) || $_POST["payment-type"]=="paypal")) {
That should make sure it doesn't run when the paypal code is supposed to.