Function: auth-source-format-cache-entry

Format SPEC entry to put it in the password cache.