Only generate key slug after SSO Location. Fixes #35 and #36.