Merge atmire 2363 orcid oauth support

A slight modification of pull #720 to add proper support for maven profiles.