fixing tests if there are no credentials supplied