Auth: Refactoring auth persist functionality and minor qa fixes.
Auth: Refactoring auth persist functionality and minor qa fixes.

UnionOfRAD/lithium,muyehub/lithium,SensCritique/lithium,wbeater/lithium,graphis/lithium,UnionOfRAD/lithium,datachand/lithium,m4rcsch/lithium-core-library,jails/lithium,davidpersson/lithium,whowgames/lithium,wbeater/lithium,jails/lithium,m4rcsch/lithium-core-library,davidpersson/lithium,whowgames/lithium,qoqa/lithium,muyehub/lithium,qoqa/lithium,SensCritique/lithium,datachand/lithium,pixelcog/lithium,pixelcog/lithium,mehlah/lithium,graphis/lithium,mehlah/lithium