[4.1] Adding in option to set user to null (logged out)

We have an option to set the user statelessly. Should also include a way to set the user to anonymous statelessly.