Fix bug in Auth Guard logout method.