Don't pass default_url to gravatar URI in test mode as it will fail

Because testhost.tld does not host gravatar images..
See also https://github.com/radiant/radiant/commit/59cbb8cc8a7ccdeeca2614066d845c6cb62b1523