Added error handling when return query string doesn't contain oauth parameters
This lead to a crash/assert before. This situation might occur if you quickly register/unregister with a service