Create authenticate.php

Basic authentication script for phones.