refactor. lightopenid defaults to keep session
fix bug when keeping session