Fix credential decode index out of range

If there is no colon in the decoded auth string, creds[1] will result in a index out of range panic