Merge pull request #590 from bhariharan/unstable

Fix login redirects for communities
Fix for logout not working in one.app