fixed some authorize_consumer bug