Update the OMERO install script to test Web login with CSRF

This commit patches OMERO-homebrew-install.sh to retrieve the CSRF token and
then pass it to the POST data in a second call testing the login.
merge dev_5_0 -Dorg -Ssuccess-only: PR 3185 (Update the OMERO install script to test Web login with CSRF)
merge dev_5_0 -Dorg -Ssuccess-only

Repository: openmicroscopy/openmicroscopy
Already up-to-date.

Merged PRs:
  # PR 3185 sbesson 'Update the OMERO install script to test Web login with CSRF'

Repository: openmicroscopy/bioformats
Already up-to-date.

Repository: ome/scripts
Already up-to-date.

Repository: openmicroscopy/ome-documentation
Updating 6dd7ecb..bd65d99
Previously merged:
  # PR 1028 snoopycrimecop 'Update auto-generated properties'
  # PR 1026 hflynn 'Adding note about openjdk8 not being supported'

Merged PRs:
  # PR 1029 aleksandra-tarkowska 'csrf protection'
  # PR 1030 hflynn 'Updating build no. for linux walkthrough'

Generated by OME-5.0-merge-push#260 (http://ci.openmicroscopy.org/job/OME-5.0-merge-push/260/)