Remove relative url root when obtaining domain for authorization
Merge branch 'master' into jeremy-master