Export login state from lib to UI via callback
Merge branch 'master' into builds
7.585