Revert "Finished login protocol"

This reverts commit 8341d698a201fc26deb89107b9fc0df35a0d7943.