Fixed authentication lag, avatars for registered users, fatal error with glue_get_comments()

Fixed authentication lag in glue_authenticate function.

Update: Modified Lincoln's fixes from Aug. 07, 2012 to display Gravatar and Vanillaicon avatars for registered users who haven't uploaded an avatar yet.