Fixed parsing of redirect_url with all local domains.
Fixed bug with multisite installation where new sites would be created with blank SSL Hosts.