fixing error message handling.  Case was a bad client id in login