Fix database connection on registration.
Fix incorrect bootstrap include