Add (legacy) support for the previous method of specifying oauth2 server