Fix bug: has cookies local but no account in DB