Tell rails-api to use standard rails middleware

Otherwise the app doesn't boot up.