fixed documentation issue where credentials were not being correctly set