Odd Block Behavior

Permalink
I am having an odd behavior happening with an addon I'm upgrading. Below is what I am doing and what's happening:

1. I add / update the block on the page
2. I publish the page.
3. The block is a simple form that you fill out and it is supposed to show results via a PHP class that is loaded via a library.
4. When I first add the block, OR whenever I update and publish the page, it re-directs me to the login page (but I am still logged in).
5. When I return to the page, everything loads perfectly fine, and the block works as it should.

I suspect I am missing something in regards to how the library is loaded, or something else is causing the issue.

What would cause that to happen?

PineCreativeLabs