Check key id/secret length for additional validation of key
Use the correct error message when validating the secret key
Merge pull request #109 from recampbell/validation

Check key id/secret length for additional validation of key