Updated parsing of the username from the windows identity