Changed the order of the AuthorizationServer and ResourceServer configuration.