As Barb suggests keep the box "logged in" checked. Also, if you clear your history cache it sometimes causes one to have to log in again.
Btw, it is a good idea to clear your history out. Otherwise the browser gets bogged down "remembering" all the places one has visited.