Add better fallback for AWS.CognitoIdentityCredentials localStorage lookup