daemon: Add support for password authentication