Adds support for oauth'ing communities

Added the ability to specify a base url so we can oauth into a SF community.