Fix OAuth callback for production / development