Only set credentials when they're present