fixes for WFLY-1318 and WFLY-1329

https://issues.jboss.org/browse/WFLY-1318 executing a :reload using the http interface fails
https://issues.jboss.org/browse/WFLY-1329 'whoami' operation unexpectedly requires the domain wide configuration lock