Don't try to log deprecation warning if no logger

eg govuk_content_api has Rails, but isn't a Rails app, so the logger is not
initialised, and causes an error and death at start up if
GDS::SSO::Config.default_scope is invoked.
Release 3.0.1