oauth v1 lot of fixes