Fix the failures of rspec around API authentication with doorkeeper 1.4