login: Fix logging of too long username