public async Task AuthenticateWithInvalidCustomerPassword()
        {
            var containerType = Enum.Parse <ContainerType>(configuration.GetValue <string>("Container"));

            if (containerType != ContainerType.BuiltIn)
            {
                return;
            }
            var password        = TestingUtility.RandomString();
            var invalidPassword = "******";

            await WithCustomer(
                client,
                customerDraft => DefaultCustomerDraftWithPassword(customerDraft, password),
                async customer =>
            {
                try
                {
                    await client.ExecuteAsync(
                        new LoginCustomerCommand(customer.Email, invalidPassword));
                }
                catch (Exception ex)
                {
                    Assert.IsType <ErrorResponseException>(ex);
                    Assert.DoesNotContain(ex.Message, invalidPassword);
                    Assert.DoesNotContain(ex.StackTrace, invalidPassword);
                }

                var log = InMemoryLogger.GetLogMessages();
                Assert.NotEmpty(log);
                Assert.DoesNotContain(log, invalidPassword);
            });
        }