modified flockp2pservice to automatically authenticate