Fix url generation and settings for Sentry 6.0