Change the way client id and secret are read.