Activation of authentication on logout.