Logged in info not showing correctly

I have two sites which have been set up virtually the same, the second one actually using the same files I created the first one with.

On the first site, I see the photo, the user name and the log out link, but on the second it shows up as a small grey box in the widget area.

These images should show what I mean.