More tests and fixes

Added tests for creating/updating networks
Fix some bugs found from tests:
    - forbidden helper returns 403 now
    - created url for networks is correct now
Simplified test client's use of users