[api] test and fix overloaded gravatar page