Avoid NoMethodError for remember_me if it is not configured

Fixes Issue #2179