Push notification bug fixes
Fix logout tests
Fix SmartStore tests
Fix passcode tests
Remove redundant logout test
Remove stale TODO
Merge pull request #469 from bhariharan/fast_user

Some bug fixes and test fixes