Since flower can be deployed on a different machine than the one that rabbit is installed on, I think  you should externalize the various parts of this url to variables with the default being on localhost and the default celery username and password.

The new variables should be in all caps so that it's obvious that they are meant to be overridden.