message: Add ability to set next query param in register route
diff: +import { computed } from '@ember-decorators/object';
  import Controller from '@ember/controller';
  import config from 'ember-get-config';
  import param from 'ember-osf-web/utils/param';
  -const { OSF: { casUrl, orcidClientId, url } } = config;
  +const { OSF: { casUrl, orcidClientId, url: baseUrl } } = config;
  export default class Register extends Controller {
  + queryParams = ['next'];
  + next?: string;
  +
  orcidUrl = `https://www.orcid.org/oauth/authorize?${param({
  client_id: orcidClientId || '',
  scope: '/authenticate',
  @@ -13,8 +17,11 @@ export default class Register extends Controller {
  redirect_uri: `${casUrl}/login?client_name=OrcidClient#show_login`,
  })}`;
  - institutionUrl = `${casUrl}/login?${param({
  + @computed('next')
  + get institutionUrl() {
  + return `${casUrl}/login?${param({
  campaign: 'institution',
  - service: `${url}/login/?next=${encodeURI(url)}`,
  + service: `${baseUrl}/login/?next=${encodeURIComponent(this.next || baseUrl)}`,
  })}`;
  }
  +}
  