Changes to make this work with QLD government's Auth Server.