LPS-36406 User can't login due to LayoutTypeException if he has a page linked to another in his public/private site which has just been disabled in portal-ext