Gitplugin/credentials

Added @WithCredentials annotation to gitplugin testclass.