Allow disabling of login and token validation