Improve credentials snippet