Attempt to fix the issue where the session is not remembered.