Login/log in/logon/log on should be displayed as “login”.
This is because it makes it into one shorter word, that has a specific meaning. It is in and not on because you are going into a site.
It should be displayed with a capital L for such prompts as “Login: Password:” but otherwise should be lowercase.