setting basic OAuth server