May fix some login/logout issues between admin and front-end.