Add missing behaviour for accounting and authenticate. Fixes #116