Added authorization and related tests. Open gravatar link in new tab.