Removes expired credentials.