most likely there is domain switching occurring.
sessions and cookies are based on the domain. if you switch between using the www address for a site and using the non www address, it is separate browsing session / cookie
a session or cookie created for:
is not available if you switch the address to:
to prevent this you can force all traffic to use either www or not: