Bug fix production endpoint

Without this fix, you get the following error:

OAuth::Unauthorized
404 Not Found