Resolved conflicts between unit tests and the added environment for system tests
Fixed a bug where view/beehub_directory.php asserted the wrong privileges