Fixed #21084 -- Used proxy model's content type for admin log entries.

(the previous commit included only the test)