First pass at enabling logon-as-service in windows_service (CHEF-4921).

Not sure what kind of leak you mean: AFAIK puts errors will surface as exceptions.