publish: Improved unauthorized login message.

generated from commit ebec476a1a2b8f2061dc83d3899d1ff08ece8abc