rewrite acctinfo to return actual page codes instead of error message

Signed-off-by: William Rockwood <wrockwood@tadl.org>