Fixes to make the project run

Fixed the syntax, the 'Sing in with Google' button did not show up in Chrome.

Fixed the parsing of the idToken segment, reading Tim Bray's On ID Tokens http://www.tbray.org/ongoing/When/201x/2013/04/04/ID-Tokens was rather helpful on catching the bug.