I have almost the same problem:
I wrote a plugin to change the looks of the login-screen, this works, but I am also not able to publish new posts, I get the same error-message as MaartenN and the posts are stored as not published.
does anyone know how this is possible, and more important, how we can solve this?