Merge pull request #494 from bhariharan/unstable

Adding intent for access token refresh event
Fix for logout errors while switching accounts