Client#authenticate() throws a useful exception when the client is in the ERROR state.