The simple answer is using a link formatted https://www-somedb-com.ezproxy.institution.edu assumes authentication and will break (in many cases) if the user is not authenticated to EZproxy prior to clicking the link.
The unproxied link https://ezproxy.institution.edu/login?url=http://www.somedb.com/ always verifies authentication with the server preventing the broken link issues.