Fix hard-coded base URL when parsing application ID
Fix hard-coded base URL when parsing application ID

So that enterprise and private deployments will work with this parser.
stormpath/stormpath.js,stormpath/stormpath.js