UrlPath.ResolveUrl returns NullReference in Search Indexing mode when Login Logout widget is dropped on the page/template
When the MVC Login/Logout widget is dropped on a page along with a widget that resolves detail URL, an exception occurs and the page's content is not included in the search index.