I've had this happen intermittently (bug report pop up when logging in)...but not as you've described. Be sure to run POTC Online after a clean boot (right after turning on PC). If you've been running other programs reboot prior to running Pirates as this will unload all unnecessary .dll's from memory and start you off with a clean state. Be sure to check your startup configuration for programs set to run on boot. These should be disabled as they utilize resources (memory/RAM).
Also make sure you have the most up to date video drivers and direct x installed. Uninstalling and reinstalling POTC wouldn't hurt either....in the event there are some corrupt files.