oauth and http authentication support.