Hi Johan,
This error does not happen in Full Trust.
How did you configure your machine for Full Trust?
What steps did you take to do that?
If a machine is configured for Medium Trust then you cannot make a site full trust just by web.config changes because the Medium Trust is enforced from machine.config and this takes precedence over Web.config. Otherwise hosting companies could not force Medium Trust if it was possible to change to Full Trust from Web.config.
You can simulate medium trust on a machine that allows full trust by Web.config like this:
<trust level="Medium" originUrl=".*" />
but if the machine is configured for Medium Trust you cannot make it full trust like this, it will not work:
<trust level="Full" originUrl=".*" />
About:
<add key="EnableOpenIDAuthentication" value="true" />
true will only work if the dll is present in the bin folder. The setting there makes it possible to enable it in Site Settings but if you enable it it will not work without the dll, though you can use the RPX service as it does not need this dll.
Hope it helps,
Joe