To answer my own question, the login module needs to create a Login Token. I found some code to do that here (commit method):
Clik here to view.

To answer my own question, the login module needs to create a Login Token. I found some code to do that here (commit method):