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.
Merge pull request #36 from cloudControl/registeraddonexception

Catch exception on addon.register