Client ID validation does not work