Bug report: Api authentication redirecting

I am trying to get authentication working on the api, but it redirects to the beta site. So for example the apiary example doesn’t work on the “production” server: http://docs.ogs.apiary.io/#reference/authentication/oauth2-user-token-generator/request-a-user-token?console=1

Ok, so I was wrong. It’s redirecting from http:// to https://. So I guess the examples in apiary just need to be updated to use https://.