On login, throw a custom message on failure
Handle invalid config without validation messages