Corrects OAuth2 endpoint env vars