Fix microTxnResult().

Properly return null instead of empty objects, and correctly set
the |authorized| property.

Fixes #11.