BAKE LONGER! (about 45 min before adding cheese.)
https://doughmesstic.com/2012/12/29/cheesy-potato-breakfast-casserole/