allow settings to be changed through authorize
add domain to defaults to use rather than baseUrl
Merge pull request #6 from hoist/feature/authorize

Feature/authorize