Undelete the login() call inadvertantly removed in 4e0a2fe59c

Refs #21271.