Keep tag list for registration token
What does this MR do?
Tags list and register locked were faulty unset when legacy registration token is provided.
This MR fixes the bug and add unit tests to prevent it from happening
Why was this MR needed?
What's the best way to test this MR?
❯ helm unittest --debug .
What are the relevant issue numbers?
Fixes #511 (closed)