Fix bug in auth.logout event.
Merge branch '4.0'
Fix bug in Auth Guard logout method.
Merge branch '4.0'