This term is always a problem and it seems that most people want to use “login” exclusively. 

As a verb (shows action), use two words:  log in

As a noun or an adjective, use one word:  login

Source:  https://writingexplained.org/log-in-or-login-difference