Fixed authorize with invalid params spec.