Fix daemon compile; allow login from CLI