Change routing table dispatcher to cache accounts

At the moment, the routing table dispatcher caches routing table data. We need it to cache account objects in order for #1127 to be possible.