No, the logins are different. The sample and live database are not connected so you will need separate logins for each database.