GPG: store auth status in db.