Fix a bug in shopifyAuth