Made Gravatar more resistant to crashes

I installed the project and tried to register a user but it crashed.  The data I got from Gravatar didn't have an accounts array making it crashed.  I fixed the issue and made the Gravatar requests less prone to crashes.