Function to create a temporary "magic" login link with preset permissions for a limited time. e.g. 12 hours, 1 week etc. Very handy for installers with a one-time job.