Compile with Xcode < 6
Monitor changes in user defaults to see if we need to forcibly log out.