Fixed authorization for iOs 8

Signed-off-by: Conrad Bartels Daal <conrad@proxible.com>