Use localisation for logged warnings

In one case an unlocalized warning was logged in
a certain case of an authentication failure.

Change-Id: I4283539dc53516f172cf4ee70c9f75fe3741ceca
Merge "Use localisation for logged warnings"