Correctly set credentials.