Fix database connection in send new password and admin.