Improve logout method configuration by using first sign_out_via option on Devise. Thanks @carlesso