Add scopes to client credentials and search example.
Update test to reflect changes in error response