Fix issue where credentials were stored.