Added assertion for 401 status response
Added responseserializer for requestManager to handle response type text/html