Bugfix for allow_deploy: Adjusting requested_role-default for multiple apps

Added tests