Catch exception on addon.register

Exceptions are handled by the common.execute_with_authenticated_user.
If you add type in wrong email and password you are asked again, but
the request is send to /token, which is wrong. By catching the exception
and exiting this is solved.