To use this just edit your build.sbt as follows:
libraryDependencies ++= Seq( "com.gu" %% "scala-automation-web-signin" % "1.xxx" )
Add something to your conf file e.g. for CODE "idApiRoot" : "https://idapi.code.dev-theguardian.com"
See the example code in LoggingInTest