[TIMOB-12771] Fixed analytics to only send payload when logged in.
Merge pull request #34 from appcelerator/timob-12771

[TIMOB-12771] Fixed analytics to only send payload when logged in.