Fixed credentials::read() to properly stat the credentials file.

Review: https://reviews.apache.org/r/21445