Update frontpage_login.rb

Vhost is now used if specified.
Added X-Vermeer-Content-Type header, which seems to be required for the RPC service otherwise server responds with:
```
method=
status=

status=262147
osstatus=0
msg=No "CONTENT_TYPE" on CGI environment.
osmsg=
```