Changed the auth window to use a different URL if in production