Change home before executing rabbitmq-plugins so we pick up the correct Erlang cookie. But only do that if the cookie exists, otherwise we might create one owned by root and break everything.
Merge bug26423