Tries to fix oauth bug for prediction api