Fix for authentication
Revert changes related on content-type