Fix missing implement phpseclib in api.php

Without this lines, API response is empty.