Export Hone as a global variable instead of exporting a potentially conflicting require.
Fix some issues with login and the various states that can exist in that process.