fix for issue 116 on the devise authentication guide