dont save configuration when failed to login