Added haddocks to setCreds/clearCreds