Support flickr login + other minor changes.