Changed error messages in REST API.  Changed key comparison to be case insensitive since some systems will use upper case letters in their SHA hash.