If it happens with Joomla login too, then it's not a JFBConnect issue. If the database settings are sticking, that could definitely be a big problem. You may want to edit the configuration.php file directly in your Joomla root directory and set the database settings there to see if that helps.
Good luck,
Alex