Add support for Google Apps domain restriction.

Google supports passing a "hd" parameter to only allow user's from that specific Hosted Domain (Google Apps) to login.

Use case:
Creating internal applications that utilise existing Google Apps infrastructure for a Single Sign On approach.