Giant bugfix. Login state stubs should be working now.