Missing client credentials for token request are now properly handled.

Added utility function for creating invalid client errors.