Fix mixed content warnings for Gravatar images.
Make sure session cookies are secure if SSL is enabled.