WIP fix for ios 8 authorization