Set referrer in cookie with fernet encrypted value