Return errors other than client_id or redirect_uri
Update tests