Authentication: ensure no-403 setting is check each time access needs to be forbidden

Merged François Grisez requested to merge fix/no403_policy into release/2.0

Furthermore, this commit avoid “500 internal error” response while chalenge making when no algorithm fetched from database has been allowed in settings. A challenge for each allowed algorithms is made instead.

Merge request reports