Fixes an issue where authentication credentials are invalid.