ALM-282 fixed user role permissions
ALM-280 fixed OAuth support for github
ALM-272 tests for write API