[ticket/7707] Add get_username_string() once more

PHPBB3-7707
[ticket/7707] Remove unnecessary variables

PHPBB3-7707