hide_empty property not working when using get_terms

Thanks to Laxmana‘s comment above I found the solution. The plugin User Access Manager has a setting in its options to hide empty categories. It is enabled by default. I disabled the option and now all categories are shown.

Thank you for your help, especially thanks to Laxmana!