fixed missing username replacement
Merge pull request #144 from Pomax/usernamefix

Fix bug 1077176 - fixed missing username replacement