It's a common case of attraction. It also routinely happens with the mihi nomen est construction (to which Livy's is obviously similar). More generally, it tends to happen wherever some word that should logically be in another case describes someone who's also represented by a dative word. For example, nobis beatos esse licet is the logical construction (and it can occur) but nobis beatis esse licet is usual.