@mhartington, can we have some solution here? The flow goes like this.
LoginPage -> Tabs (each tab with root property) -> (Profile page as a tab) ->(click logout)
Now it should go back to Login with empty Navigation stack!.
Note : When we have root property set to the TAB, it creates its own navigation stack.