Correct name is login_user

Fixes #1848.