Fixes #5180 - in_taxonomy clears out Taxonomy.current

This fixes broken tests in here https://github.com/theforeman/foreman/commit/53516db7c7646ec76ce449793a4bc8048d48b787 that set Location.current and Organization.current but did not clear them and made other tests fail.