Small refactor of kWidget auth

* hopefully fixes reload issue where ks has expired. tested changes for
easialy testable use cases ( logged out, cleared local storage etc )