flickr: Only try and check the token if we have one

Going online/offline would trigger the checking of the token's validity even
if no token was set. This change ensures that we try and get a token and then
only if we have a token do we try and check it's validity.

This should address CVE-2012-4511.
build: Post-release version bump