Authentication through facebook and basic auth through ssl