Turns out that it actually is necessary. Just tried it without and if the nil is not there, it fails to actually sign the user out.