un-breaks the default login mechanism.

i borked this over christmas, this should fix it.