Extract function - get_default_authentication_method
Restore full backwards compatibility in users.json by using 'cleartext' as the default authentication method for existing users