fix basic auth for puavo api
Remove useless headers key
Fix rest server for tests