Update cookie save/restore; update for Xcode 6

git-svn-id: http://gtm-oauth2.googlecode.com/svn/trunk@123 22754eea-fc93-e339-b032-c1f495b90c16