adding strip_whitespace_keys

A little modification to take into account the devise strip_whitespace_keys option.