Profile web test fixes.
Merge pull request #1435 from davecivicrm/profileWebtestFixes

Profile web test fixes.