Yes, it is considered a bug that you can end up without any logins with sa_role or sso_role. CR 786879 was opened for this a couple of weeks ago. It isn't fixed yet, but an engineer is assigned to work on it.
Currently you will have to recover to your most recent dump of the master database. If you don't have one, you will have to rebuild the server.
-bret