Adapted Account and BonjourAcount to new Credentials class

darcs-hash:20090518140744-58103-f4287dcac37450fd88312c7997f0542c32817643