fixed POST encoding and oauth issue