Update pin domain logic to adapt for prive custom domain pin protected private sites as well as old private files by pin
os_pinserver_auth should be the primary link handler
Default to 'current domain' if they are not using pin protected files
Fix typo
Merge pull request #4874 from openscholar/private-pin_custom-domain

Update pin domain logic to adapt for private custom domain