Potato, Onion and Mushroom Cake