Use navigate instead of divert when not logged in or authorized to ensure that the view is propertly rendered (addresses bug 1104958)