No, the usernames and passwords will not be affected upon moving the database to another server.