Update application_controller.rb

Update login_from_cookies function. Assignment in condition - you probably meant to use '=='