Heat your oven to 375 degrees. Butter a 13 x 9 sized casserole dish.
Thinly slice the potatoes, and place half of the potatoes in the casserole dish, and dust with salt and pepper.
Heat the olive oil in a skillet, and once it is warm, add the shallot and garlic. Saute for 4 minutes. Then add the flour and cream, and whisk to combine.
Once the cream is hot, add the cream cheese and half of the blue cheese. Stir to melt.
Pour half of this mixture over the potatoes in the casserole dish.
Add the remaining potatoes to the dish, and dust with salt and pepper. Pour the rest of the cheese mixture over the potatoes. Top with the remaining blue cheese.
Bake for an hour. If necessary, cover with foil to prevent the top of the potatoes from burning (if it is on a lower oven rack it should be ok). Feel free to make this a day ahead of time and reheat. If you reheat it you will want to keep it covered.