Make sure that this extraction function works right
gofmt, don't duplicate credentials struct from my tumblr client, move
that to appropriate file