Ensure username is valid in login_page.php

This is a fix to improve the behaviour of login_page against possible
XSS exploits to ensure that a username is valid before displaying it
back to the user when entered.

Fixes #17338

Signed-off-by: Damien Regad <dregad@mantisbt.org>
Whitespace