See https://github.com/baymac/gitlab-branch-source-plugin/pull/4/files/50cae4a7994d035e45fccdcf93b715641b6f270a#r291186646
Ongoing work with some other changes can be followed here - https://github.com/baymac/gitlab-branch-source-plugin/pull/6
Remove the API models for authentication