Knowing that cognitive biases exist, we can take that fact into account when doing our Bayesian inference. Do you want something to be true? That should count against it in your assignment of credences, not for it. Does new, credible evidence seem incompatible with your worldview? We should give it extra consideration, not toss it aside.