Dapicli: Fix broken page argument and 404 handling