Adds google authentication middleware.

Related to issue #71.