True, "username" felt more correct for me, but I am not a native speaker of course.

Wikipedia is using "username", too: https://en.wikipedia.org/wiki/Wikipedia:Username

On https://en.wikipedia.org/wiki/User_%28computing%29 they prefer "username" to "user name"

It also has more hits on Google when  compared to "user name".