Cannot return an error in the callback
See this code:

```
    passport.use(new GoogleStrategy(strategyOpts,
        function(accessToken, refreshToken, profile, done) {
            // Check that the hosted domain is correct
            let profileObj = profile || {}
            let profileArgs = profile._json || {}
            if(!profileArgs || !profileArgs.domain || profileArgs.domain != config.google.hostedDomain) {
                return done('An error', null)
            }

            return done(null, profile)
        })
    )
```

When passing an error to the `done` callback (first argument), the page doesn't finish loading.
