In order to communicate with the P2P API you will need to provide the nethash of the network you are working on, node version and port. Authenticating with an invalid nethash will return {"success": false}.