Allow for large profile pictures to be uploaded

To avoid 504s when uploading large profile pictures for users and groups.