Fix for avoiding login screen on iPhones and iPads