This commit refactors repo-actions support to use components and make the implementation much simpler. It also fixes a bug with buttons being displayed when they shouldn't be.
Apart from adding a test, this commit also adds a dummy implementation for Auth that can be used in tests to control the auth status.