daemon: Fix lapse where the login password is read in pointer-sized chunks

https://bugzilla.gnome.org/show_bug.cgi?id=708483