ping server (to check credentials) during authenticate()
Exclude tests from release.
Ensure sensible error message when using network without having authenticated.