cemerick/friend — pull request #107 by zefhemel (2014-05-23 12:51:18+00:00)
Title: Fix Google federated login auth, and reduce ConsumerManager instantiations

I ran into this problem: http://blog.a25apps.com/2013/04/19/fix-for-google-federated-login-api/ and fixed that (line 58). In addition, for some reason I'm getting huge loads of

```
mei 23, 2014 2:43:45 PM org.openid4java.server.RealmVerifier setEnforceRpId
WARNING: RP discovery / realm validation disabled;
```

entries in my log when using the openid workflow. One for every HTTP request (to any URL). I figured out this is because the `ConsumerManager` and things are instantiated _outside_ the check for the `openid-url`. I now moved it inside of the check, which should reduce log load as well as the number of unnecessary objects being created.