[BUGFIX] Add scheduler dependency

Because the synchronization task depends on the scheduler we need to add
it's dependency. Otherwise the backend login will be broken if the scheduler
extension is not present, because the synchronization is executed at login.