Double check on the login page the name of the session that will be created by the authenticate user server behavior. make sure you are using the correct session name on the profile page.
also on the profile page, you may need to add code to start the session at line 1:
<?php @session_start(); ?>