BZ-1141816 - Rest API do not create a Repository (Uberfire identity not available with REST calls) - test fixes