[FIX] Credentials for object|Batch actions and Generator merge

Fix issue #531 : credentials are now taked into account in generated PHP files

Fix regression introduced by PR #529 about params merge strategy.