Added unit tests for droplet power-cycle command
Slightly refined error handling by adding CredentialsError exception.