Parameterised authentication to use environment variables - hacky but ok while we're just proving the concept.