Fix test faillures
when websocket_test is run before routes_test
Don't break when started on empty database
Merge branch 'misc/testfixes' of https://github.com/aenario/cozy-proxy

Conflicts:
	proxy.coffee