Removing url_for calls which can break https.