Bundled changes

- Fix DELETE APIs (were not working due to different transaction to fetch
				   instance and to remove).
- Expose API tests via URL on server.
- Fix API tests to run authenticated.
- Add authentication (register/auth/delete user) for each test which requires it.