Fix issue with multiple paths for refresh cookie