Fix post login authentication issue

protect_from_forgery in application_controller.rb also causes problems for curl call after authentication.  This line must be dropped in order to make the curl calls works after authentication step.