Onboarding to generate auth code #21777
This allows onboarding to generate an authorization code to fetch refresh tokens.
This will allow us to redirect to bypass the login page when we finish onboarding. By using an authorization code, the user will get asked if they want to store their login.
Requires frontend PR: home-assistant/home-assistant-polymer#2894
If the code does not interact with devices: