[api] Make sure that user can't branch packages if allow_user_to_create_home_project is set to false via string or boolean
[api] add test case for validating for allow_user_to_create_home_project config option