Made request.js check so body is not empty in tests
Added simple testing for auth with username and password