gustafn
committed
on 07 Mar 18
simplify initialization logic and issue login cookie only, when account_status is ok