Fix issue with redisplay of avatar upload

This should answer carrierwaveuploader/carrierwave#1414.

I may be missing something though, since in that issue it's specifically mentioned that `avatar_cache` was added to the parameter list (which is what this pull request does). I didn't see it anywhere however, and this seems to fix the issue.