Refactored a bit of the API
Made some test more isolated

Tests affected:
* Api/v1/logs specs
* session controller specs
* users controller specs
* applicaton specs