Close #18 - Basic API authentication is possible again

I've prevented the unhandled exceptions and converted them
into standard exceptions. This way, it seems that the basic auth
filter catches the exceptions and validates the api token.
(cherry picked from commit c6ea77d6c44855ce6bcd84333e1dd3f38e7538c7)

Signed-off-by: Oren Held <oren@onavo.com>
Fix POM dependency