Implemented the new loa requirement for credentials edition
Fix failing tests