Fix some login biz