Add auth cookie generation and log off actions.