Fixing broker functional tests 

PHP version selection based on OS
Creating user account for functional test