Fixed various problems within the exception handling.
Fixed various problems within the exception handling.

tiborsimko/invenio-access,inveniosoftware/invenio-access,inveniosoftware/invenio-access,tiborsimko/invenio-access