Fix issues with login and database init.