Updated to remove lock tokens from session on logout.