Added missing onSuccess after successful authentication.
Fixes #20.