don't die when db tries to set the user to null but session is not set up