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

Follow suggestion of @carlesso to improve logout method configuration. #1386