Fix login with API
Clean up code, add id's to fixtures, add status codes,
Functional tests
Fix Functional Tests