enabled JSON response modes for login and register by default