You can specify that the data to be returned is not JSON using responseType.
In your example, you can use a responseType string value of text:
return this.http.post(
'http://10.0.1.19/login',
{email, password},
{responseType: 'text'})
The full list of options for responseType is:
json(the default)textarraybufferblob
See the docs for more information.