The authentication corrected in the accounting controller file.

It is required in order to create the correct cache key.