Yes this is cookies check your settings in the settings table setting 171-173 and make sure they are like this
cookie path /
cookie prefix bb
cookie domain blank
Now also in your config-inc.php most notably your issue is the license number is incorrect if it signs you out if log in through photopost thus you need to input the correct license number in that file for vbulletin.