copied from passport-google-example/examples/signon/