This logic block from the ```ldap``` function removed above is now lost.
```ruby
if @user.persisted?
  @user.remember_me = true
end
```
I would add it here to keep the behavior.