If public id not integer now AuthenticationError.  Close #18